// master do-file to run three do-files:
// 1_pair_general_mapping_real.do
// 2_simulated_vote_prep_dyad.do
// 3_simulated_vote_prep_mpsess.do
clear all
local simcode "$path_pch/Code/simulations"
timer clear 99
timer on 99

foreach x in 1 11 21 31 41 { 

// pick number of random seating arrangement draws
global drawstart 	= `x'
global drawend 		= `x'+9

di "From `drawstart' to `drawend'"

// pick parameter values of pcue to consider (loop over)
local pcues "0.01 0.02 0.03 0.05 0.07 0.1 0.15 0.2 0.3"  

foreach p of local pcues {
	global pcue "`p'"
	
	do "`simcode'/1_pair_general_mapping_real.do"
	do "`simcode'/2_simulated_vote_prep_dyad.do"
	do "`simcode'/3_simulated_vote_prep_mpsess.do"
}

}

timer off 99
timer list 99

beep
sleep 2000
beep
sleep 2000
beep